const colorList = [
    '#40C58B', 'rgba(181,195,52,.7)', 'rgba(85,71,144,.8)', 'rgba(232,124,37,.7)', 'rgba(39,114,123,.8)',
    'rgba(254,132,99,.7)', 'rgba(155,202,99,.8)', 'rgba(29,83,155,.8)', '#297C6D', '#60C0DD', '#6E7074',
    '#D7504B', 'rgba(0,0,0,.8)', 'rgba(73,67,103,.5)', '#F0805A', '#26C0C0'
];

module.exports = {
    pickerOptions1: {
        disabledDate(time) {
            return time.getTime() > Date.now();
        },
        shortcuts: [
            {
                text: '今天',
                onClick(picker) {
                    picker.$emit('pick', new Date());
                }
            },
            {
                text: '昨天',
                onClick(picker) {
                    const date = new Date();
                    date.setTime(date.getTime() - 3600 * 1000 * 24);
                    picker.$emit('pick', date);
                }
            },
            {
                text: '前天',
                onClick(picker) {
                    const date = new Date();
                    date.setTime(date.getTime() - 3600 * 1000 * 24 * 2);
                    picker.$emit('pick', date);
                }
            }
        ]
    },
    pickerOptions2: {
        shortcuts: [
            {
                text: '最近三天',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 3);
                    picker.$emit('pick', [start, end]);
                }
            },
            {
                text: '最近一周',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
                    picker.$emit('pick', [start, end]);
                }
            },
            {
                text: '最近一个月',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
                    picker.$emit('pick', [start, end]);
                }
            },
            {
                text: '最近两个月',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 60);
                    picker.$emit('pick', [start, end]);
                }
            },
            {
                text: '最近三个月',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
                    picker.$emit('pick', [start, end]);
                }
            },
            {
                text: '最近六个月',
                onClick(picker) {
                    const end = new Date();
                    const start = new Date();
                    start.setTime(start.getTime() - 3600 * 1000 * 24 * 180);
                    picker.$emit('pick', [start, end]);
                }
            }
        ]
    },
    option1: {
        title: {
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option2: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option3: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option4: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option5: {
        title: {
            text: '渠道对比'
        },
        grid: {
            x: 70,
            y: 60,
            x2: 20,
            y2: 40,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
            },
            axisLine: {
                lineStyle: {
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            type: 'value',
            axisLine: {
                lineStyle: {
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option6: {
        title: {
            text: ''
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c}个'
        },
        color: ['rgba(155,202,99,.8)', 'rgba(29,83,155,.6)', 'rgba(41,124,109,.8)', 'rgba(64,197,139,.7)', 'rgba(73,67,103,.5)'],
        calculable: true,
        series: [
            {
                name: '渠道转化',
                type: 'funnel',
                left: '30',
                top: 65,
                bottom: 60,
                width: '90%',
                min: 0,
                max: 100,
                minSize: '0%',
                maxSize: '100%',
                sort: 'descending',
                gap: 2,
                label: {
                    show: true,
                    position: 'inside',
                    normal: {
                        position: 'inside',
                        formatter: '  {b}：{c}个  ',
                        textStyle: {
                            color: '#fff'
                        }
                    }
                },
                labelLine: {
                    length: 10,
                    lineStyle: {
                        width: 1,
                        type: 'solid'
                    }
                },
                itemStyle: {
                    borderColor: '#fff',
                    borderWidth: 1
                },
                emphasis: {
                    label: {
                        fontSize: 20
                    }
                },
                data: []
            }
        ]
    },
    option7: {
        title: {
            text: '业务转化'
        },
        color: ['rgba(43,139,120,.7)'],
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '20',
            right: '40',
            bottom: '30',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: [],
                axisTick: {
                    alignWithLabel: true
                }
            }
        ],
        yAxis: [
            {
                type: 'value'
            }
        ],
        series: [
            {
                name: '直接访问',
                type: 'bar',
                barWidth: '60%',
                data: []
            }
        ]
    },
    option8: {
        title: {
            text: '未签订原因'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        series: [
            {
                name: '未签原因',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option9: {
        title: {
            text: '退单原因'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        series: [
            {
                name: '退单原因',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option10: {
        title: {
            text: '客户分布区域'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        series: [
            {
                name: '分布区域',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]

    },
    option11: {
        title: {
            text: '业绩排行',
        },
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '3%',
            right: '4%',
            bottom: '3%',
            containLabel: true
        },
        xAxis: {
            type: 'value',
        },
        yAxis: {
            type: 'category',
            data: []
        },
        series: [
            {
                name: '',
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    }
                },
                type: 'bar',
                data: []
            },
        ]
    },
    option12: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#6F56B5',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option13: {
    },
    option14: {
        title: {
            text: '中心业务完成率',
        },
        tooltip: {
            formatter: '{a} <br/>{b} : {c}%'
        },
        series: [
            {
                name: '业务指标',
                type: 'gauge',
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    }
                },
                axisLine: {
                    show: true,
                    lineStyle: {
                        color: [[0.2, "rgba(255,0,0,0.8)"], [0.8, "rgba(0,255,255,0.8)"], [1, "rgba(0,255,0,0.8)"]],
                        opacity: 1,
                        shadowColor: "#fff",
                    }
                },
                detail: {
                    formatter: '{value}%',
                },
                data: []
            }
        ],
    },
    option15: {
        title: {
            text: '部门业务完成率'
        },
        color: ['rgba(111,86,181,.8)', 'rgba(43,139,120,.8)', 'rgba(29,91,175,.8)'],
        tooltip: {
            trigger: 'axis',
            formatter: '{b}: <br />计划: {c2}个<br />实际: {c1}个<br />{a}: {c0}%',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '20',
            right: '40',
            bottom: '30',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: [],
                axisTick: {
                    alignWithLabel: true
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                interval: 15,
                axisLabel: {
                    formatter: '{value}'
                }
            },
            {
                type: 'value',
                name: '完成率',
                interval: 15,
                axisLabel: {
                    formatter: '{value}'
                }
            }
        ],
        series: [
            {
                name: '完成率',
                type: 'line',
                yAxisIndex: 1,
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}%',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            },
            {
                name: '实际',
                type: 'bar',
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            },
            {
                name: '计划',
                type: 'bar',
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            }
        ]
    },
    option16: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 0,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option17: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 0,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option18: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 0,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option19: {
        title: {
            text: '业绩排行',
        },
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '3%',
            right: '4%',
            bottom: '3%',
            containLabel: true
        },
        xAxis: {
            type: 'value',
            boundaryGap: [0, 0.01]
        },
        yAxis: {
            type: 'category',
            data: []
        },
        series: [
            {
                name: '',
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    }
                },
                type: 'bar',
                data: []
            },
        ]
    },
    option20: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option21: {
        title: {
            text: '未审过原因'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        series: [
            {
                name: '原因',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option22: {
        title: {
            text: '审过渠道'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        series: [
            {
                name: '渠道',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option23: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option24: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option25: {
        title: {
            subtext: '',
            x: 'left',
            textStyle: {
                fontWeight: 'normal',
                color: '#06FFFF',
                fontSize: 16
            }
        },
        grid: {
            x: 0,
            y: 10,
            x2: 0,
            y2: 1,
            borderWidth: 1
        },
        tooltip: {
            trigger: 'axis',
            borderColor: '#BE0000'
        },
        toolbox: {
            show: true
        },
        calculable: true,
        xAxis: {
            show: false,
            type: 'category',
            axisLabel: {
                show: true,
                interval: 0,
                textStyle: {
                    color: '#fff',
                    fontSize: '10'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            },
            data: []
        },
        yAxis: {
            show: false,
            type: 'value',
            axisLine: {
                lineStyle: {
                    color: '#fff',
                    width: 0.5
                }
            }
        },
        series: [
            {
                name: '数量',
                type: 'line',
                itemStyle: {
                    normal: {
                        color: '#6F56B5',
                        borderColor: '#B70000'
                    }
                },
                lineStyle: {
                    color: '#efefef'
                },
                areaStyle: {
                    normal: {
                        opacity: 0.5
                    }
                },
                data: []
            }
        ]
    },
    option26: {
        title: {
            text: '本月业务概况',
            textStyle: {
                color: '#277AEC',
                fontSize: '120%'
            },
            x: '3%',
            y: '1.5%'
        },
        tooltip: {
            trigger: 'item',
            formatter: "{a} <br/>{b} : {c}个"
        },
        grid: {
            x: '13%',
            y: '23%',
            x2: '1%',
            y2: '14%',
            borderWidth: 1
        },
        color: ['#1D5BAF', '#2B8B78', '#6F56B5'],
        legend: {
            x: '30%',
            y: '4%',
            data: ['上门', '签单', '提车'],
            textStyle: {
                color: '#ccc',
                fontSize: '75%'
            }
        },
        series: [
            {
                name: '计划',
                type: 'funnel',
                left: '10%',
                top: '30%',
                label: {
                    normal: {
                        formatter: '{c}个',
                        textStyle: {
                            color: '#fff'
                        }
                    },
                    emphasis: {
                        position: 'inside',
                        formatter: '{b}计划: {c}个'
                    }
                },
                labelLine: {
                    normal: {
                        show: false
                    }
                },
                itemStyle: {
                    normal: {
                        opacity: 0.7
                    }
                },
                data: [
                    { value: 0, name: '上门' },
                    { value: 0, name: '签单' },
                    { value: 0, name: '提车' },
                ]
            },
            {
                name: '实际',
                type: 'funnel',
                left: '10%',
                top: '30%',
                label: {
                    normal: {
                        position: 'inside',
                        formatter: '{c}个',
                        textStyle: {
                            color: '#fff'
                        }
                    },
                    emphasis: {
                        position: 'inside',
                        formatter: '{b}实际: {c}个'
                    }
                },
                itemStyle: {
                    normal: {
                        opacity: 0.5,
                        borderColor: '#fff',
                        borderWidth: 2
                    }
                },
                data: [
                    { value: 0, name: '上门' },
                    { value: 0, name: '签单' },
                    { value: 0, name: '提车' },
                ]
            }
        ]
    },
    option27: {
        title: {
            text: '本月业务排行 TOP10',
            textStyle: {
                color: '#277AEC',
                fontSize: '120%'
            },
            x: '3%',
            y: '1.5%'
        },
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            x: '13%',
            y: '23%',
            x2: '1.6%',
            y2: '14%',
            borderWidth: 1
        },
        xAxis: {
            type: 'value',
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#647897',
                    fontSize: '90%'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#647897',
                }
            },
            splitLine: {
                show: true,
                lineStyle: {
                    color: '#647897'
                },
            },
            boundaryGap: [0, 0.01]
        },
        yAxis: {
            type: 'category',
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#647897',
                    fontSize: '85%'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#647897',
                }
            },
            data: []
        },
        series: [
            {
                name: '',
                stack: '总量',
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    }
                },
                type: 'bar',
                data: []
            },
            {
                name: '',
                stack: '总量',
                itemStyle: {
                    normal: {
                        color: "rgba(0,148,88,.5)",
                    }
                },
                type: 'bar',
                data: []
            },
        ]
    },
    option28: {
        title: {
            text: '本月权证排行 TOP10',
            textStyle: {
                color: '#277AEC',
                fontSize: '120%'
            },
            x: '3%',
            y: '2.8%'
        },
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            x: '8%',
            y: '23%',
            x2: '1.6%',
            y2: '14%',
            borderWidth: 1
        },
        xAxis: {
            type: 'value',
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#647897',
                    fontSize: '90%'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#647897',
                }
            },
            splitLine: {
                show: true,
                lineStyle: {
                    color: '#647897'
                },
            },
            boundaryGap: [0, 0.01]
        },
        yAxis: {
            type: 'category',
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#647897',
                    fontSize: '85%'
                }
            },
            axisLine: {
                lineStyle: {
                    color: '#647897',
                }
            },
            data: []
        },
        series: [
            {
                name: '',
                stack: '总量',
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    }
                },
                type: 'bar',
                data: []
            },
            {
                name: '',
                stack: '总量',
                itemStyle: {
                    normal: {
                        color: "rgba(0,148,88,.5)",
                    }
                },
                type: 'bar',
                data: []
            },
        ]
    },
    option29: {
        title: {
            text: '每日转化概况',
            textStyle: {
                color: '#277AEC',
                fontSize: '120%'
            },
            x: '3%',
            y: '1.5%'
        },
        color: ['#6F56B5', '#2B8B78', '#1D5BAF'],
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'cross',
                label: {
                    backgroundColor: '#6a7985'
                }
            }
        },
        legend: {
            y: '3%',
            textStyle: {
                color: '#ccc',
                fontSize: '82%'
            },
            data: ['上门', '签订', '提车']
        },
        grid: {
            x: '2.5%',
            y: '25%',
            x2: '1.6%',
            y2: '16%',
            borderWidth: 1
        },
        xAxis: [
            {
                type: 'category',
                boundaryGap: false,
                axisLabel: {
                    show: true,
                    textStyle: {
                        color: '#647897',
                        fontSize: '85%'
                    }
                },
                axisLine: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                data: []
            }
        ],
        yAxis: [
            {
                type: 'value',
                axisLabel: {
                    show: true,
                    textStyle: {
                        color: '#647897',
                        fontSize: '85%'
                    }
                },
                axisLine: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                splitLine: {
                    show: true,
                    lineStyle: {
                        color: '#647897'
                    },
                },
            }
        ],
        series: [
            {
                name: '提车',
                type: 'line',
                stack: '总量',
                areaStyle: {},
                data: []
            },
            {
                name: '签订',
                type: 'line',
                stack: '总量',
                areaStyle: {},
                data: []
            },
            {
                name: '上门',
                type: 'line',
                stack: '总量',
                areaStyle: {},
                data: []
            },
        ]
    },
    option30: {
        title: {
            text: '本月中心对比(上门——签订——提车)',
            textStyle: {
                color: '#277AEC',
                fontSize: '120%'
            },
            x: '3%',
            y: '2.8%'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c} ({d}%)'
        },
        grid: {
            x: '13%',
            y: '23%',
            x2: '1%',
            y2: '14%',
            borderWidth: 1
        },
        legend: {
            x: '10%',
            y: '85%',
            itemWidth: 15,
            textStyle: {
                color: '#ccc',
                fontSize: '75%'
            },
            data: []
        },
        color: colorList,
        series: [
            {
                name: '上门',
                type: 'pie',
                radius: '50%',
                label: {
                    normal: {
                        position: 'inside',
                        show: false,
                    },
                },
                center: ['18%', '46%'],
                data: [],
                itemStyle: {
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            },
            {
                name: '签订',
                type: 'pie',
                radius: '50%',
                center: ['50%', '46%'],
                data: [],
                label: {
                    normal: {
                        position: 'inside',
                        show: false,
                    },
                },
                itemStyle: {
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            },
            {
                name: '提车',
                type: 'pie',
                radius: '50%',
                center: ['82%', '46%'],
                data: [],
                label: {
                    normal: {
                        position: 'inside',
                        show: false,
                    },
                },
                itemStyle: {
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            },
        ]
    },
    option31: {
        title: {
            text: '部门完成概况',
            textStyle: {
                color: '#277AEC'
            },
            x: '3%',
            y: '1.5%'
        },
        color: ['#6F56B5', '#2B8B78', '#CA8622', '#1D5BAF'],
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        legend: {
            x: '29%',
            y: '3.1%',
            textStyle: {
                color: '#ccc',
                fontSize: '75%'
            },
            data: ['上门计划', '上门完成', '签单计划', '签单完成']
        },
        grid: {
            x: '2.5%',
            y: '25%',
            x2: '0%',
            y2: '16%',
            borderWidth: 1
        },
        xAxis: [
            {
                type: 'category',
                axisLabel: {
                    show: true,
                    textStyle: {
                        color: '#647897',
                        fontSize: '85%'
                    },
                    formatter: (value) => {
                        const splice = (val, start, newStr) => {
                            return `${val.slice(0, start)}${newStr}${val.slice(start)}`;
                        };
                        return splice(value, 2, '\n')
                    }
                },
                nameTextStyle: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                axisLine: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                data: []
            }
        ],
        yAxis: [
            {
                type: 'value',
                axisLabel: {
                    show: true,
                    textStyle: {
                        color: '#647897',
                        fontSize: '85%'
                    }
                },
                nameTextStyle: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                axisLine: {
                    lineStyle: {
                        color: '#647897',
                    }
                },
                splitLine: {
                    show: true,
                    lineStyle: {
                        color: '#647897'
                    },
                },
                type: 'value'
            },
        ],
        series: [
            {
                name: '上门计划',
                type: 'line',
                data: []
            },
            {
                name: '上门完成',
                type: 'bar',
                stack: '上门完成',
                data: []
            },
            {
                name: '签单计划',
                type: 'line',
                data: [],
            },
            {
                name: '签单完成',
                type: 'bar',
                stack: '上门完成',
                data: []
            },
        ]
    },
    option32: {
        title: {
            text: '年度运营概况'
        },
        color: ['rgba(43,139,120,.7)'],
        tooltip: {
            trigger: 'axis',
            formatter: '{b} : {c}',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '20',
            right: '40',
            bottom: '30',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['01月', '02月', '03月', '04月', '05月', '06月', '07月', '08月', '09月', '10月', '11月', '12月'],
                axisTick: {
                    alignWithLabel: true
                }
            }
        ],
        yAxis: [
            {
                type: 'value'
            }
        ],
        series: [
            {
                name: '',
                type: 'bar',
                barWidth: '60%',
                data: []
            }
        ]
    },
    option33: {
        title: {
            text: '金融类型'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c}个({d}%)'
        },
        series: [
            {
                name: '金融类型',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    normal: {
                        color: function (params) {
                            return colorList[params.dataIndex]
                        },
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option34: {
        title: {
            text: '购车类型'
        },
        tooltip: {
            trigger: 'item',
            formatter: '{a} <br/>{b} : {c}个({d}%)'
        },
        series: [
            {
                name: '购车类型',
                type: 'pie',
                radius: '60%',
                center: ['50%', '55%'],
                data: [],
                itemStyle: {
                    // normal: {
                    //     color: function (params) {
                    //         return colorList[params.dataIndex]
                    //     },
                    // },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    },
    option35: {
        title: {
            text: '谈判师转化'
        },
        color: ['rgba(111,86,181,.8)', 'rgba(43,139,120,.8)', 'rgba(29,91,175,.8)'],
        tooltip: {
            trigger: 'axis',
            formatter: '{b}: <br />接单: {c2}个<br />谈成: {c1}个<br />{a}: {c0}%',
            axisPointer: {
                type: 'shadow'
            }
        },
        grid: {
            left: '20',
            right: '40',
            bottom: '30',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: [],
                axisTick: {
                    alignWithLabel: true
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                interval: 15,
                axisLabel: {
                    formatter: '{value}'
                }
            },
            {
                type: 'value',
                name: '成功率',
                interval: 15,
                axisLabel: {
                    formatter: '{value}'
                }
            }
        ],
        series: [
            {
                name: '成功率',
                type: 'line',
                yAxisIndex: 1,
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}%',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            },
            {
                name: '谈成',
                type: 'bar',
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            },
            {
                name: '接单',
                type: 'bar',
                label: {
                    normal: {
                        show: true,
                        formatter: '{c}',
                        fontSize: 16,
                        rich: {
                            name: {
                                textBorderColor: '#fff'
                            }
                        }
                    }
                },
                data: []
            }
        ]
    },
}